/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    hansen
 * 创建时间:    2023-09-25
 */
package org.jeecg.modules.dock.entity.mes.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * WMS-MES发送叠片叫料完成返回柱料明细
 *
 * @author hansen
 * @version 1.0.0
 * @date 2023-09-25 08:37:04
 */
@ApiModel(value = "WMS-MES发送叠片叫料完成返回柱料明细", description = "WMS-MES发送叠片叫料完成返回柱料明细")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LaminationCallMaterialCompletionReturnColumnMaterialDetails extends MesBaseRequestVO{

    @NotNull
    @ApiModelProperty("明细(数组)")
    private List<Detail> detail;
    @Data
    static class Detail implements Serializable {
        @NotNull
        @NotBlank
        @ApiModelProperty("柱子批次号，长度10位")
        private String batchId;

        @NotNull
        @NotBlank
        @ApiModelProperty("位置，位置编号")
        private String position;

        @NotNull
        @NotBlank
        @ApiModelProperty("柱型(入“上轭AA”)")
        private String modelName;

        @ApiModelProperty("理料方向，1-正  ，2-反")
        private Integer direction;

        @NotNull
        @NotBlank
        @ApiModelProperty("台号，相同台号组成一台")
        private String tableCode;
    }
}
